﻿using Caliburn.Micro;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace AdornerTest
{

	/// <summary>
	/// Context menu items are bound to a collection, and this is the item that would be in that collection
	/// </summary>
	public class SomeContextMenuItem : PropertyChangedBase
	{
		private string _name = "";
		public string Name
		{
			get { return _name; }
			set
			{
				if (_name != value)
				{
					_name = value;
					this.NotifyOfPropertyChange(() => Name);
				}
			}
		}

		public ICommand Action { get; set; }
	}
}
